package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 提现对象 withdrawal
 * 
 * @author ruoyi
 * @date 2025-09-15
 */
public class Withdrawal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 商家id */
    @Excel(name = "商家id")
    private Integer merchantId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private Double cashWithdrawal;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 提现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 状态【0审核中、1审核通过、2审核不通过】 */
    @Excel(name = "状态【0审核中、1审核通过、2审核不通过】")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setMerchantId(Integer merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Integer getMerchantId() 
    {
        return merchantId;
    }

    public void setCashWithdrawal(Double cashWithdrawal) 
    {
        this.cashWithdrawal = cashWithdrawal;
    }

    public Double getCashWithdrawal() 
    {
        return cashWithdrawal;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }

    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantId", getMerchantId())
            .append("cashWithdrawal", getCashWithdrawal())
            .append("realName", getRealName())
            .append("bankName", getBankName())
            .append("bankCardNumber", getBankCardNumber())
            .append("time", getTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
